<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">

    <title>精选课程</title>
    <tc_include file="Public:head" />
    <link rel="stylesheet" href="__TMPL__Public/invest/css/selectedcourses.css">


</head>

<body>
<nav class="navbar navbar-default" role="navigation">
    <tc_include file="Public:nav" />
    <!-- /.container-fluid -->
</nav>
<!--轮播器-->
<div class="container">
    <!--第二块-->
    <div class="side-da-er">
        <div class="side-h3 side-wu">
            <div id="nav-menu">
                <ul class="nav nav-tabs" id="nav">
                    <li <if condition="$formget['id'] eq 1">class="active"</if> ><a href="{:U('Invest/List/activity',array('id'=>1))}" class="grey">精英游学班</a></li>
                    <li <if condition="$formget['id'] eq 2">class="active"</if> ><a href="{:U('Invest/List/activity',array('id'=>2))}">名师高级课</a></li>
                    <li <if condition="$formget['id'] eq 3">class="active"</if> ><a href="{:U('Invest/List/activity',array('id'=>3))}">盘手实训营</a></li>
                </ul>
            </div>
        </div>
        <div class="tab-content">
            <div id="home-ke" class="tab-pane fade in active">
                <div class="row c-box cur">
                    <div class="san si">
                        <div class="row">
                        <foreach name="list" item="vo" key="k">
                            <php>$smeta=json_decode($vo['smeta'],true);</php>
                            <div class="col-md-4 col-sm-4 col-xs-12 si-box">
                                <div class="thumbnail san-content si-content">
                                    <img src="{:sp_get_image_url($smeta['thumb'])}" alt="通用的占位符缩略图">
                                    <div class="caption s-box-b si-box-b">
                                        <p class="si-p">{$name}</p>
                                        <div class="pull-left si-time">
                                            <p><span class="grey"><i class="glyphicon glyphicon-time"></i>{:date('Y-m-d',$vo['act_start_time'])}至{:date('Y-m-d',$vo['act_end_time'])}</span></p>
                                            <p><span class="grey"><i class="glyphicon glyphicon-map-marker"></i>{$vo.address}</span></p>
                                        </div>
                                        <p class="pull-right entered">
                                            <if  condition="$vo['sig_end_time'] GT $vo['contime'] ">
                                                <a href="{:U('Invest/Detailed/deactivity',array('id'=>$vo['id']))}">我要报名</a>
                                                <else />
                                                <a href="javascript:void(0)" style="background: #4c5a5f">报名结束</a>
                                            </if>

                                        </p>

                                    </div>
                                </div>
                            </div>
                            <if condition="($k+1)%3 eq 0"><div class="clearfix"></div></if>

                        </foreach>





                        </div>
                        <ul class="pagination right">
                            {$page}
                        </ul>
                    </div>
                </div>
            </div>

        </div>
    </div>
</div>

<!--第七块footer-->
<div class="clearfix"></div>
<div class="footer">
    <tc_include file="Public:footer" />
</div>
</body>
</html>
<tc_include file="Public:scripts" />

